---
--类名: PlaySoundEvent.lua
--创建日期: 2015-6-4
--创建人: 陈小虎
--功能描述: 动画播放事件
--修改内容：
--修改日期:   
--修改人:     
--修改备注: 
--

local Event = import(".Event")

local PlaySoundEvent = class("PlaySoundEvent",function()
    return Event.new()
end)

function PlaySoundEvent:ctor(params)
	self:setEventName(params.event)
	
	self.mSoundPath = params.path
	self.mLoop = params.loop
	self.mKey = params.key
	self.mPlayTime = params.playTime
	self.mSoundId = params.sound and math.floor(tonumber(params.sound)) or nil
	self.mDelete = params.delete
end

return PlaySoundEvent